package com.google.code.echronos;

import java.util.Date;

public final class NoopEventConsumer implements EventConsumer {
	@Override
	public void consumeEvent(final Event event) {
		if ("message".equals(event.getIdentifier())) {
			final Date timestamp = new Date(event.getTimestamp());
			System.out.println(timestamp + "  " + event.getPayload());
		}
	}
}
